package io.xiyou.account2.enums;


/**
 * 账户类型：CNY-人民币账户；USD-美元账户；
 */
public enum AccountTypeEnum {

    CNY("CNY", "人民币账户"),
    USD("USD", "美元账户");

    private final String code;
    private final String name;

    AccountTypeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}